package com.example.dml.factory_pattern.factory_method_pattern;

import com.example.dml.factory_pattern.ICourse;
import com.example.dml.factory_pattern.JavaCourse;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-21
 * @Description：todo
 */
public class JavaCourseFactory implements ICourseFactory{
    @Override
    public ICourse create() {
        return new JavaCourse();
    }
}
